WC_Asaas\Gateway\Gateway C

Total Complexity 114
Dependencies 19
Dependents 20
Total lines 878
Lines of code 444
Logical lines of code 267
Comment lines 298
Methods 36
Properties 8

Methods 36

Method Rating Maintainability Complexity Lines of code
generate_transactions_queue()
B
35 14 84
need_single_payment_transaction()
A
50 10 26
order_has_subscription()
A
51 9 24
process_transactions_rollback()
A
48 7 32
process_refund()
S
50 7 27
set_customer()
S
49 6 30
enable_disable_customer_notifications()
S
57 5 16
get_order_total()
S
58 5 14
is_available()
S
58 4 15
process_admin_options()
S
59 4 14
process_admin_shared_options()
S
59 4 13
get_customer()
S
63 4 11
send_checkout_failure()
S
58 3 16
get_shared_fields()
S
65 4 9
__construct()
S
51 1 27
validate_min_total_field()
S
68 2 7
send_checkout_failure_response()
S
69 2 7
awaiting_payment_status()
S
67 2 8
get_payment_id_from_order()
S
74 2 4
add_checkout_validation_errors()
S
68 2 7
init_logger()
S
68 2 7
init_form_fields()
S
80 1 3
get_api_key()
S
82 1 3
prefix()
S
100 1 0
setup_api()
S
75 1 4
add_schedule_single_event()
S
79 1 3
add_payment_id_to_order()
S
76 1 4
register_webhook_ajax_actions()
S
81 1 3
get_type()
S
82 1 3
create_due_date()
S
76 1 4
get_admin_settings()
S
82 1 3
get_logger()
S
82 1 3
get_error_code()
S
82 1 3
replace_config_url()
S
80 1 3
add_validation_errors()
S
75 1 4
validate_fields()
S
80 1 3